package com.vogue.supplymall.shop.domain.service;

import java.util.List;
import java.util.Map;

import com.vogue.supplymall.shop.domain.model.ProductAttrvalue;
/**
 * The type ProductAttrvalue service.
 *
 * @aouthor: gzl
 * @create: 2017 -12-01
 */

public interface ProductAttrvalueService extends BaseService<ProductAttrvalue, Long> {
	 /**
     * 根据syscodeid、typeid、matchid、productid得到品项属性分类的值
     */
	public ProductAttrvalue findProductAttrvalueBySTMP(Long sysCodeId,int typeId,String matchId,Long productId);
	/**
	 * 根据attrplanid找到对应的product_attrvalue中的matchId
	 */
	public String findMatchIdByAttrplanId(Long attrplanId);
	/**
	 * 根据syscodeid、productid、matchIds得到product_attrvalue的id
	 */
	public List<Long> findIdBySPM(Long syscodeId,Long productId,String ids);
}
